package org.smile.design.brige;

import lombok.Data;

@Data
public class LightEquipment extends ShipEquipment{

    public LightEquipment(String name) {
        super(name);
    }

    public void light() {
        System.out.println(this.getName() + " 照明");
    }

    @Override
    public void execute() {
        light();
    }
}
